package org.gap.service;

import java.util.List;
import java.util.Set;

import org.gap.domain.Adherent;
import org.gap.domain.Tiers;

/**
 * Spring service that handles CRUD requests for Adherent entities
 * 
 */
public interface AdherentService {

	/**
	 * Return all Adherent entity
	 * 
	 */
	public List<Adherent> findAllAdherents(Integer startResult, Integer maxRows);

	/**
	 * Save an existing Tiers entity
	 * 
	 */
	public Adherent saveAdherentTiers(Integer adhId, Tiers related_tiers);

	/**
	 * Return a count of all Adherent entity
	 * 
	 */
	public Integer countAdherents();

	/**
	 * Delete an existing Tiers entity
	 * 
	 */
	public Adherent deleteAdherentTiers(Integer adherent_adhId, Integer related_tiers_tieTiers);

	/**
	 * Delete an existing Adherent entity
	 * 
	 */
	public void deleteAdherent(Adherent adherent);

	/**
	 * Save an existing Adherent entity
	 * 
	 */
	public void saveAdherent(Adherent adherent_1);

	/**
	 * Load an existing Adherent entity
	 * 
	 */
	public Set<Adherent> loadAdherents();

	/**
	 */
	public Adherent findAdherentByPrimaryKey(Integer adhId_1);
}